import {
  Button,
  Divider,
  Menu,
  Row,
  Layout,
  Space,
  Dropdown,
  PageHeader,
  Pagination,
  Steps,
  Checkbox,
  Radio,
  Input,
  InputNumber,
  Switch,
  TreeSelect,
  DatePicker,
  TimePicker,
  Select,
  Avatar,
  Badge,
  Card,
  Empty,
  Tabs,
  Table,
  Tree,
  Alert,
  Drawer,
  Modal,
  Spin,
  ConfigProvider,
  message,
  Cascader,
  Upload
} from 'ant-design-vue';

export default function setupAntDesignVue(app, options = {}) {
  app.config.globalProperties.$message = message;

  app.use(Button);
  app.use(Divider);
  app.use(Menu);
  app.use(Row);
  app.use(Layout);
  app.use(Space);
  app.use(Dropdown);
  app.use(PageHeader);
  app.use(Pagination);
  app.use(Steps);
  app.use(Checkbox);
  app.use(Radio);
  app.use(Input);
  app.use(InputNumber);
  app.use(Switch);
  app.use(TreeSelect);
  app.use(DatePicker);
  app.use(TimePicker);
  app.use(Select);
  app.use(Avatar);
  app.use(Badge);
  app.use(Card);
  app.use(Empty);
  app.use(Tabs);
  app.use(Table);
  app.use(Tree);
  app.use(Alert);
  app.use(Drawer);
  app.use(Modal);
  app.use(Spin);
  app.use(ConfigProvider);
  app.use(Cascader);
  app.use(Upload);
}
